#ifndef _PWM_H_
#define _PWM_H_
#include "lv_drv_conf.h"
#if USE_PWM

typedef enum {
  PWM_DEV_0,
  PWM_DEV_1,
  PWM_DEV_2,
  PWM_DEV_3,
  PWM_DEV_MAX,
} pwm_dev_t;

int lv_pwm_enable(pwm_dev_t id, int duty_ns, int period_ns);
void lv_pwm_disable(pwm_dev_t id);

#endif
#endif
